﻿//using System;
//using System.Data;
//using System.Runtime.Serialization;
//using System.ServiceModel;

//namespace HRMService
//{
//    [ServiceContract(Namespace = "http://HRMService")]
//    public interface IWorkingBackground
//    {
//        [OperationContract]
//        DataSet WorkingBackground_GetAll();

//        [OperationContract]
//        WorkingBackgroundInfo WorkingBackground_GetInfo(int WBID);

//        [OperationContract]
//        DataSet WorkingBackground_GetList();

//        [OperationContract]
//        DataSet WorkingBackground_GetWithEmployee(int EmployeeID);

//        [OperationContract]
//        int WorkingBackground_Insert(WorkingBackgroundInfo WBInfo);

//        [OperationContract]
//        bool WorkingBackground_Update(WorkingBackgroundInfo WBInfo);

//        [OperationContract]
//        bool WorkingBackground_UpdateEmployee(int EmployeeID);

//        [OperationContract]
//        bool WorkingBackground_Delete(int WBID);
        
//        [OperationContract]
//        DataSet WorkingBachgroundList_Report(int BranchID);
     
//        [OperationContract]
//        DataSet PositionDetailList_Report(int BranchID);
        
//        [OperationContract]
//        DataSet LabourContractList_Report(int BranchID);
        
//        [OperationContract]
//        DataSet EducationList_Report(int BranchID);

//        [OperationContract]
//        DataSet GradeList_Report(int BranchID);
        
//        [OperationContract]
//        DataSet FamilyList_Report(int BranchID);
//    }

//    [DataContract(Namespace = "http://HRMService")]
//    public class WorkingBackgroundInfo
//    {
//        int _ID;
//        [DataMember]
//        public int ID
//        {
//            get { return _ID; }
//            set { _ID = value; }
//        }

//        string _CompanyName;
//        [DataMember]
//        public string CompanyName
//        {
//            get { return _CompanyName; }
//            set { _CompanyName = value; }
//        }

//        string _Position;
//        [DataMember]
//        public string Position
//        {
//            get { return _Position; }
//            set { _Position = value; }
//        }

//        DateTime _StartDate;
//        [DataMember]
//        public DateTime StartDate
//        {
//            get { return _StartDate; }
//            set { _StartDate = value; }
//        }

//        DateTime _EndDate;
//        [DataMember]
//        public DateTime EndDate
//        {
//            get { return _EndDate; }
//            set { _EndDate = value; }
//        }

//        string _Description;
//        [DataMember]
//        public string Description
//        {
//            get { return _Description; }
//            set { _Description = value; }
//        }

//        int _EmployeeID;
//        [DataMember]
//        public int EmployeeID
//        {
//            get { return _EmployeeID; }
//            set { _EmployeeID = value; }
//        }
        
//    }
//}

  